package ph.com.gs3.formalistics.global.dummy;

import java.util.ArrayList;
import java.util.List;

import ph.com.gs3.formalistics.view.valueobjects.UserActionListViewItem;

public class DummyDocuments {

	public static final List<UserActionListViewItem> getDummyDocumentList() {

		List<UserActionListViewItem> documents = new ArrayList<UserActionListViewItem>();

		documents.add(createUserActionListItem("1", "Leave Request Form", "Jul 13",
		        "Doris Tumulak", "test 01\ntest 02\ntest 03", "Awaiting Approval", ""));
		documents.add(createUserActionListItem("2", "Leave Request Form", "Jul 13",
		        "Doris Tumulak", "test 01\ntest 02\ntest 03", "Approved", ""));

		return documents;

	}

	private static UserActionListViewItem createUserActionListItem(String id, String header,
	        String date, String subheader, String contents, String status, String imageURL) {

		UserActionListViewItem item = new UserActionListViewItem();

		item.documentDbId = id;
		item.header = header;
		item.date = date;
		item.subheader = subheader;
		item.contentsBody = contents;
		item.footerBody = status;

		item.imageURL = imageURL;

		return item;

	}

}
